Repository navigation
feat(transform): capture blink for Glint (0.30.0) - #566
Merged
Merged
Conversation
…en capture (#565) While the transform is applied every capture API returns the zoomed picture, so a snipping tool froze the magnified view. Wind.CaptureBlink.v1 writes identity and pauses writes until the tool ends the blink (or 400 ms), then restores the last transform. glint.exe joins kOverlayExes. Version 0.30.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN7LbXNRgNRb4hZBEt6
… one frame (#565) Wind now prepares a warm Desktop Duplication device, writes 1x, flushes one composition, grabs that frame and writes the zoom straight back, then copies the pixels into the section Glint created. Replaces the start/end protocol that held 1x for Glint's ~60 ms GDI capture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN7LbXNRgNRb4hZBEt6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #565.
What
While the transform is applied, every capture API returns the zoomed picture (GDI and DXGI, proved 2026-11-12 with Glint's
zoomprobe). Glint froze the magnified view, and zooming out inside its overlay showed nothing more.Wind.CaptureBlink.v1toWindMagnifierWnd(allowed through UIPI). wParam 1:TransformModel::captureBlink(true)writes identity on the session's channel, twoDwmFlush, and the tick pauses writes (pauseWrites). wParam 0: writes the last transform back. 400 ms safety timeout restores it if the tool never ends the blink.glint.exeadded tokOverlayExes(engine pick freezes while its overlay is up, like the Snipping Tool).Tests
build.bat check: okbuild.bat test: 682 test cases, 99630 assertions, 0 failedtools/check_copyright.ps1: all 479 files OKtools/uiaccess_setup.ps1: Wind 0.30.0 (uiaccess), input transform AVAILABLE. Hands-on test with Glint 0.2.0 is with the owner.Version: 0.30.0 (minor, new feature). Companion: Maxaubert/Glint#5.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Kg7JN7LbXNRgNRb4hZBEt6